d3ccb969458da92302e9a282e13d8010374d9dcf,bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/its/AbstractClusterTest.java,AbstractClusterTest,testAdditionalInstance,#,1244
Before Change
instance3 = newBuilder().setDebugName("thirdInstance")
.useRepositoryOf(instance1)
.build();
instance1.heartbeatsAndCheckView();
instance2.heartbeatsAndCheckView();
instance3.heartbeatsAndCheckView();
logger.info("testAdditionalInstance: 3rd 2s sleep");
After Change
instance3 = newBuilder().setDebugName("thirdInstance")
.useRepositoryOf(instance1)
.build();
for(int i=0; i<4; i++) {
instance1.heartbeatsAndCheckView();
instance2.heartbeatsAndCheckView();
instance3.heartbeatsAndCheckView();
logger.info("testAdditionalInstance: i="+i+", 2s sleep");